package org.destiny.hello.world;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloWorldController {

    /**
     * url:http://127.0.0.1:8080/index
     * 
     * @return
     */
    @GetMapping(path = "/index")
    public String index() {
        return "HelloWorld";
    }

}
